import QtQuick 2.15
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import com.mycompany.plugin 1.0
import com.mycompany.qmlcomponents 1.0

Column {
       id: column
       // anchors.top: parent.top
       // anchors.bottom: parent.bottom
       // anchors.horizontalCenter: parent.horizontalCenter
       width: 700;height:700
       spacing: 20
       // FontLoader {
       //   id: georama
       //   source: "./georama.ttf"
       // }
       Text {
           width: parent.width
           font.pixelSize: 12
           wrapMode: Text.WrapAtWordBoundaryOrAnywhere
           text: qsTr("The following text does not fit in its layout. Fine-tune the width and weight to make it fit.")
       }

       TextSample {
           anchors.topMargin: 50
           text: qsTr("Breaking: News!")
           font.pixelSize: 32
       }

       TextSample {
           font.pixelSize: 18
           text: "Lorem ipsum dolor sit amet,\n" +
                 "consectetur adipiscing elit.\n" +
                 "Praesent ornare nunc vel mauris\n" +
                 "bibendum gravida.\n" +
                 "Maecenas sed massa maximus,\n" +
                 "sagittis ex in, tristique ipsum.\n" +
                 "Vestibulum tincidunt est sapien,\n" +
                 "ut venenatis sapien tincidunt ut."
       }
       //![0]
       Column {
           Image { source: "image://colors/yellow" }
           Image { source: "image://colors/red" }
       }
       //![0]
   }
